package com.huxiu.net.model;

import com.google.gson.Gson;

/**
 * Created by tian on 15/4/17:下午6:20.
 */
public class QunZuList {
    public ForumJoined[] forum_joined;
    public int forum_joined_total;
    public ForumJoined[] forum_create;
    public int forum_create_total;

    public class ForumJoined {
        public String id;
        public String name;
        public String pic_path;
        public long update_time;

        public String toString() {
            return new Gson().toJson(this);
        }

    }


    //发现群组
    public ForumRecomment[] forum_recomment;
    public ForumRecomment[] forum_hot;

    public class ForumRecomment {
        public String id;
        public String name;
        public String desc;
        public String pic_path;
        public int user_total;
        public int is_join;

        public boolean joined() {
            return is_join == 1;
        }

        public String toString() {
            return new Gson().toJson(this);
        }
    }


    public String toString() {
        return new Gson().toJson(this);
    }
}
